/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package utilities;

import java.awt.AWTException;
import java.awt.Robot;

/**
 *
 * @author Home
 */
public class MouseMoving {

    Robot rb;

    public MouseMoving() throws AWTException {
        rb= new Robot();
    }



    public void moveMouse(int x, int y){
        rb.mouseMove(x, y);
    }





    public static void main(String[] args) throws AWTException {
        MouseMoving mm= new MouseMoving();
        for (int i = 0; i < 100000; i++) {
            System.out.println(i);
            mm.moveMouse(i, i);

        }
    }

}
